package com.zhoukx.adapter.classadpater;


/**
 *  适配器类
 */
public class VoltageAdeapter extends Voltage220V implements Volatge5V {


    //
    @Override
    public int output5V() {
       // 先获取220的电压
        int srcV = output220V();
        int distV =  srcV/ 44;
        return distV;
    }
}
